<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Traits\Fun;// 方法

class Base extends Model
{
    // 软删除
    use SoftDeletes,Fun;
    protected $dates = ['deleted_at'];

    // 设置添加时的黑名单
    protected $guarded = [];
}
